﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace _1242026_1242133.DTO
{
    class PhongDTO
    {
        //properties
        private string maPhong;
        private string tenPhong;
        private string maLoaiPhong;
        private int giaPhong;
        private int tinhTrangPhong;       
        private string ghiChu;

        // Methods

        public string MaLoaiPhong
        {
            get { return maLoaiPhong; }
            set { maLoaiPhong = value; }
        }
        public string MaPhong
        {
            get { return maPhong; }
            set { maPhong = value; }
        }
        public string TenPhong
        {
            get { return tenPhong; }
            set { tenPhong = value; }
        }
        public int GiaPhong
        {
            get { return giaPhong; }
            set { giaPhong = value; }
        }
        public int TinhTrangPhong
        {
            get { return tinhTrangPhong; }
            set { tinhTrangPhong = value; }
        }
        public string GhiChu
        {
            get { return ghiChu; }
            set { ghiChu = value; }
        }
        // contructor
        public PhongDTO(string MaPhong, string TenPhong,string GhiChu,string MaLoaiPhong)
        {
            this.MaPhong = MaPhong;
            this.tenPhong = TenPhong;
            this.MaLoaiPhong = MaLoaiPhong;
            this.GhiChu = GhiChu;
        }
        public PhongDTO()
        { 
            // doing something
        }
    }
}
